package com.dengqi.mymodule.activity.swipedel;

import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;

import com.dengqi.mymodule.R;

/**
 * Created by dell on 2018/6/21
 */

public class SwipeAdapter extends BaseAdapter {

    Context mContext;

    public SwipeAdapter(Context mContext) {
        this.mContext = mContext;
    }

    @Override
    public int getCount() {
        return 20;
    }

    @Override
    public Object getItem(int i) {
        return null;
    }

    @Override
    public long getItemId(int i) {
        return 0;
    }

    @Override
    public View getView(int i, View view, ViewGroup viewGroup) {
        view = LayoutInflater.from(mContext).inflate(R.layout.item_swipedel, null);
        return view;
    }
}